export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "menuWidth":270,
    dialogClickModal: false,
    "labelWidth": 160,
  "column": [
    {
      "type": "input",
      "label": "任务ID",
      "addDisplay": false,
      'editDisplay': false,
      "prop": "id",
      "width":68
    }, {
      "type": "input",
      "label": "任务名称",
      "searchSpan": 6,
      search: true,
      "prop": "jobName",
      rules: [
        { required: true, message: '请输入任务名称', trigger: 'blur' },
      ]
    }, {
      "type": "input",
      "label": "Bean名称",
      "prop": "beanName",
      rules: [
        { required: true, message: '请输入Bean名称', trigger: 'blur' },
      ]
    }, {
      "type": "input",
      "label": "执行方法",
      "prop": "methodName",
      rules: [
        { required: true, message: '请输入执行方法', trigger: 'blur' },
      ]
    }, {
      "type": "input",
      "label": "cron表达式",
      "prop": "cronExpression",
      rules: [
        { required: true, message: '请输入Cron表达式', trigger: 'blur' },
      ]

    }, {
      "type": "input",
      "label": "描述",
      "prop": "description",
      rules: [
        { required: true, message: '请输入描述', trigger: 'blur' },
      ]
    }, {
      "type": "input",
      "label": "负责人",
      "hide": true,
      "prop": "personInCharge",
      rules: [
        { required: true, message: '请输入任务负责人', trigger: 'blur' },
      ]
    }, {
      "type": "input",
      "label": "报警邮箱",
      "hide": true,
      "prop": "email"
    }, {
      "type": "input",
      "label": "子任务ID",
      "hide": true,
      "prop": "subTask"
    }, {
      "type": "radio",
      "label": "任务失败后是否暂停",
      "hide": true,
      "prop": "pauseAfterFailure",
      dicData: [{
        label: '是',
        value: false
      }, {
        label: '否',
        value: true
      }],
      "value": false,
    }, {
      "type": "radio",
      "label": "状态",
      "prop": "isPause",
      dicData: [{
        label: '启用',
        value: false
      }, {
        label: '暂停',
        value: true
      }],
      "slot":true,
      "value": false,
    }, {
      "type": "textarea",
      "label": "参数",
      "prop": "params",
      "span": 24
    }, {
      "type": "input",
      "label": "创建者",
      "hide": true,
      'addDisplay': false,
      'editDisplay': false,
      "prop": "createBy"
    }, {
      "type": "input",
      "label": "更新者",
      "hide": true,
      'addDisplay': false,
      'editDisplay': false,
      "prop": "updateBy"
    }, {
      "type": "input",
      "label": "创建日期",
      "prop": "createTime",
      'addDisplay': false,
      'editDisplay': false,
      format: 'yyyy-MM-dd HH:mm:ss',
      valueFormat: 'yyyy-MM-dd HH:mm:ss'
    }, {
      "type": "input",
      "label": "更新时间",
      "hide": true,
      'addDisplay': false,
      'editDisplay': false,
      "prop": "updateTime"
    }]
}
